//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01B
TN_Widget.CreateTable([['Judy Collins','Coronado Performing Arts Center','Rockford, IL','Friday','5/3/2024','7:30 PM','6243910','Judy-Collins-5-3-2024'],['Golden Girls: The Laughs Continue','Coronado Performing Arts Center','Rockford, IL','Friday','5/10/2024','7:30 PM','6291009','Golden-Girls--The-Laughs-Continue-5-10-2024'],['Rockford Symphony Orchestra: Soundscapes','Coronado Performing Arts Center','Rockford, IL','Saturday','5/11/2024','7:30 PM','5817494','Rockford-Symphony-Orchestra--Soundscapes-5-11-2024'],['Brad Williams','Coronado Performing Arts Center','Rockford, IL','Friday','5/17/2024','7:00 PM','5859215','Brad-Williams-5-17-2024'],['Josh Gates','Coronado Performing Arts Center','Rockford, IL','Saturday','6/1/2024','7:00 PM','6266936','Josh-Gates-6-1-2024'],['Ancient Aliens Live','Coronado Performing Arts Center','Rockford, IL','Friday','6/7/2024','7:30 PM','6276696','Ancient-Aliens-Live-6-7-2024'],['Kevin James','Coronado Performing Arts Center','Rockford, IL','Friday','6/14/2024','7:30 PM','6083742','Kevin-James-6-14-2024'],['Blippi Live','Coronado Performing Arts Center','Rockford, IL','Sunday','6/16/2024','2:00 PM','6016142','Blippi-Live-6-16-2024'],['Brit Floyd','Coronado Performing Arts Center','Rockford, IL','Saturday','7/6/2024','7:30 PM','6315619','Brit-Floyd-7-6-2024'],['Bluey's Big Play','Coronado Performing Arts Center','Rockford, IL','Tuesday','7/16/2024','6:00 PM','6132098','Bluey-s-Big-Play-7-16-2024'],['Bluey's Big Play','Coronado Performing Arts Center','Rockford, IL','Wednesday','7/17/2024','6:00 PM','6132099','Bluey-s-Big-Play-7-17-2024'],['Mark Normand','Coronado Performing Arts Center','Rockford, IL','Friday','7/26/2024','7:00 PM','6383861','Mark-Normand-7-26-2024'],['Pete Davidson','Coronado Performing Arts Center','Rockford, IL','Saturday','7/27/2024','7:00 PM','6319079','Pete-Davidson-7-27-2024'],['Why We Love Serial Killers With Dr. Scott Bonn','Coronado Performing Arts Center','Rockford, IL','Friday','9/13/2024','7:30 PM','6376786','Why-We-Love-Serial-Killers-With-Dr--Scott-Bonn-9-13-2024'],['Glenn Miller Orchestra','Coronado Performing Arts Center','Rockford, IL','Sunday','9/29/2024','3:00 PM','5960154','Glenn-Miller-Orchestra-9-29-2024'],['Killers of Kill Tony: Kam Patterson, David Lucas, Hans Kim & David Jolly','Coronado Performing Arts Center','Rockford, IL','Saturday','10/19/2024','7:00 PM','6400660','Killers-of-Kill-Tony--Kam-Patterson--David-Lucas--Hans-Kim---David-Jolly-10-19-2024'],['Stayin' Alive - A Salute To The Music of The Bee Gees','Coronado Performing Arts Center','Rockford, IL','Sunday','10/20/2024','7:30 PM','6053090','Stayin--Alive---A-Salute-To-The-Music-of-The-Bee-Gees-10-20-2024'],['Kansas - The Band','Coronado Performing Arts Center','Rockford, IL','Friday','11/1/2024','7:30 PM','6329519','Kansas---The-Band-11-1-2024'],['Nurse Blake','Coronado Performing Arts Center','Rockford, IL','Sunday','11/10/2024','7:00 PM','6327638','Nurse-Blake-11-10-2024'],['State Ballet Theatre of Ukraine: Swan Lake','Coronado Performing Arts Center','Rockford, IL','Sunday','11/17/2024','4:00 PM','6351143','State-Ballet-Theatre-of-Ukraine--Swan-Lake-11-17-2024'],['Rockford Symphony Orchestra: Disney's Beauty and The Beast In Concert - Film With Live Orchestra','Coronado Performing Arts Center','Rockford, IL','Friday','5/16/2070','TBD','4092076','Rockford-Symphony-Orchestra--Disney-s-Beauty-and-The-Beast-In-Concert---Film-With-Live-Orchestra-5-16-2070']],'Coronado Theatre','http://www.ticketnetwork.com/ticket/Coronado-Theatre-events.aspx');